.box1 {
    display: flex;
    width: 100px;
    height: 100px;
    background-color: pink;
    background-image: url('../images/1.jpg');
    background-size: cover;
  }